// Root Scene Node
// (c) jimon game studio

#ifndef JEH_CROOTSCENENODE
#define JEH_CROOTSCENENODE

#include "ISceneNode.h"

namespace je
{
	namespace scene
	{
		//! Root Scene Node
		class CRootSceneNode:public je::scene::ISceneNode
		{
		public:
			//! Constructor
			CRootSceneNode(video::IRender * Render);

			//! Destructor
			~CRootSceneNode();

			//! On Update
			void OnUpdate();

			//! On Visibility Culling
			void OnVisibilityCulling();

			//! On Update
			void OnUpdate(ISceneNode * Node,u1 UpdateSelf = false);

			//! On Visibility Culling
			void OnVisibilityCulling(ISceneNode * Node,u1 UpdateSelf = false);

			//! Serialize
			void Serialize(core::ISerializeStream * SerializeStream);

			//! Get Node Type Name
			jeStringc GetNodeTypeName()
			{
				return jeStringc("RootSceneNode");
			}
		};

	}
}

#endif
